<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>com.sekati.reflect.Reflection - SASAPI</title><script src="../../../quicknav.js" type="text/javascript"></script><script><!--
document.quicknavBasePath="../../../index-files";
//--></script><link href="../../../style.css" title="JavaDoc" rel="stylesheet" type="text/css"/><link href="../../../unnatural.css" title="Unnatural" rel="alternate stylesheet" type="text/css"/><link href="../../../overview-summary.html" title="Overview" rel="top"/><link href="package-summary.html" title="Package com.sekati.reflect" rel="up"/><link href="../../../com/sekati/reflect/Stringifier.html" title="Class com.sekati.reflect.Stringifier" rel="prev"/><link href="../../../com/sekati/net/NetBase.html" title="Class com.sekati.net.NetBase" rel="next"/><meta name="generator" content="http://www.badgers-in-foil.co.uk/projects/as2api/"/></head><body><h1>Class com.sekati.reflect.Reflection</h1><div class="type_hierachy"><ul><li><strong>com.sekati.reflect.Reflection</strong></li></ul></div><div class="type_description"><h2>Description</h2><p>
 Reflection allows class introspection for logging and identification purposes.
 <pre> Usage:
 	<span class="key">var</span> loader:Baseloader = <span class="key">new</span> Baseloader(<span class="str_const">"init"</span>);
 	Reflection.getFullyQualifiedClassName(loader);	<span class="comment">// returns: "com.sekati.load.BaseLoader"</span>
 	ClasReflection.getClassName(loader);				<span class="comment">// returns: "BaseLoader"</span>
 	Reflection.getPackageName(loader);					<span class="comment">// returns: "com.sekati.load"</span>
 </pre>
 </p></div><div class="type_indexes"><div class="method_index"><h2>Method Index</h2><a href="#getClassName" title="static public function getClassName(o:Object):String">getClassName()</a>, <a href="#getFullyQualifiedClassName" title="static public function getFullyQualifiedClassName(o:Object):String">getFullyQualifiedClassName()</a>, <a href="#getPackageName" title="static public function getPackageName(o:Object):String">getPackageName()</a></div></div><div class="type_details"><div class="method_detail_list"><h2>Method Detail</h2><div class="method_details alt_row"><a name="getFullyQualifiedClassName"></a><h3>getFullyQualifiedClassName</h3><code class="method_synopsis">static public function <strong class="method_name">getFullyQualifiedClassName</strong>(o:<span class="unresolved_type_name">Object</span>):<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 Get the Fully Qualified Class Name Definition from a class instance.
 </p><h4>Parameters</h4><table class="arguments extra_info" summary=""><tr><td><code>o</code></td><td>(Object) instance object to identify.
 </td></tr></table><h4>Return</h4><p class="extra_info"> String - string representation of FQCN
 <pre> Usage:
 	Reflection.getFullyQualifiedClassName(myTest); <span class="comment">// returns: "com.sekati.tests.MyTest"</span>
 </pre>
	 </p></div></div><div class="method_details"><a name="getClassName"></a><h3>getClassName</h3><code class="method_synopsis">static public function <strong class="method_name">getClassName</strong>(o:<span class="unresolved_type_name">Object</span>):<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 Get the Class Name Definition from a class instance.
 </p><h4>Parameters</h4><table class="arguments extra_info" summary=""><tr><td><code>o</code></td><td>(Object) instance object to identify.
 </td></tr></table><h4>Return</h4><p class="extra_info"> String - string representation of CN
 <pre> Usage:
 	Reflection.getClassName(myTest); <span class="comment">// returns: "MyTest"</span>
 </pre>
	 </p></div></div><div class="method_details alt_row"><a name="getPackageName"></a><h3>getPackageName</h3><code class="method_synopsis">static public function <strong class="method_name">getPackageName</strong>(o:<span class="unresolved_type_name">Object</span>):<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 Get the Class Package Definition from a class instance.
 </p><h4>Parameters</h4><table class="arguments extra_info" summary=""><tr><td><code>o</code></td><td>(Object) instance object to identify.
 </td></tr></table><h4>Return</h4><p class="extra_info"> String - string representation of CP
 <pre> Usage:
 	Reflection.getPackageName(myTest);	<span class="comment">// returns: "com.sekati.tests"</span>
 </pre>
	 </p></div></div></div></div><ul class="main_nav" id="main_nav"><li><a href="../../../overview-summary.html" title="Overview of SASAPI" class="button">Overview</a></li><li><a href="package-summary.html" title="Overview of package com.sekati.reflect" class="button">Package</a></li><li><span class="button nav_current">Class</span></li><li><a href="Reflection.as.html" title="Source code of com.sekati.reflect.Reflection" class="button">Source</a></li><li><a href="../../../index-files/index.html" title="Alpabetical index of types and members" class="button">Index</a></li></ul><div class="footer"><a href="http://www.badgers-in-foil.co.uk/projects/as2api/" title="ActionScript 2 API Documentation Generator">as2api</a></div></body></html>